package com.server.controller;

import com.server.servers.Servers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/** @author HKC */
@RestController
@RequestMapping("/test")
public class Controller {
  @Autowired private Servers servers;

  @RequestMapping("/get")
  public String get(String name) {
    return servers.get(name);
  }
}
